home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Diamond Collection
/
The Diamond Collection (Software Vault)(Digital Impact).ISO
/
cdr32
/
4space11.zip
/
4DEMO.BAT
next >
Wrap
DOS Batch File
|
1995-02-07
|
4KB
|
98 lines
@ECHO OFF
CLS
ECHO ╔══════════════════════════════╗
ECHO ║ ║
ECHO ║ 4Space 1.1 ║
ECHO ║ ║
ECHO ║ From Consultech Computing ║
ECHO ║ ║
ECHO ╚══════════════════════════════╝
IF !%1! == !! GOTO NoParam
ECHO.
ECHO Welcome to 4SPACE 1.1. This batch file demonstrates how it operates in
ECHO various modes. If you haven't already read the files README.1ST and
ECHO 4SPACE.TXT, it is highly recommended that you do so before proceeding
ECHO further. README.1ST contains instructions on how to set the delay factor
ECHO that must be used with this batch file. If you haven't done that, you
ECHO should quit and read README.1ST. At any time, you can quit this batch file
ECHO with CTRL-BREAK, or proceed by hitting (almost) any other key...
PAUSE > NUL
IF !%1! == !0! GOTO CheckParam
:ParamOK
CLS
ECHO When starting, 4SPACE will pause at the opening screen. This is to remind
ECHO you to register your shareware. Unfortunately, there is no way to disable
ECHO this feature just for this demo, so please be patient. Watch each example
ECHO for a while to see how it goes - it isn't always apparent at the beginning.
ECHO To quit the program, hit any key. The spacebar halts (freezes) the screen
ECHO temporarily. To resume after freezing, again hit any key.
ECHO.
ECHO For starters, let's look at a fairly simple setting: 4SPACE /C9 /L6
ECHO This means color number 9, 6 lines. Press a key to continue.
PAUSE > NUL
4SPACE /D%1 /C9 /L6
CLS
ECHO Now let's get more interesting. 10 lines, multicolored. This is done
ECHO with 4SPACE /L10 /M. /L can range from 3 to 32. Press a key to continue,
ECHO or (as always) CTRL-BREAK to quit...
PAUSE > NUL
4SPACE /D%1 /L10 /M
CLS
ECHO Next, we look at the /V switch. This Varies the colors as the program
ECHO runs. How about 5 lines, multicolor, Variable: 4SPACE /L5 /M /V
ECHO Press a key.
PAUSE > NUL
4SPACE /D%1 /L5 /M /V
CLS
ECHO Now we'll just get wild. Let's try 24 lines, Multiple Variable colors, and
ECHO add random sound. Sound is added with the /N (Noise) switch. So this one
ECHO is: 4SPACE /L24 /M /V /N Press a key to try it.
PAUSE > NUL
4SPACE /D%1 /L24 /M /V /N
CLS
ECHO That gets a bit confused, doesn't it? So for our final demo, we'll use a
ECHO setting that is a little more mellow. This is one of my favorites. If you
ECHO use a number with the /N switch, you can set sound to a constant frequency.
ECHO The range of frequencies is 100 to 7000. Also, if you use /V without /M,
ECHO only one color is visible but it Varies. (I like constant colors though:
ECHO they let you see the patterns better.) So this one is going to be:
ECHO 4SPACE /L5 /V /N300 That's a single, Variable color, 5 lines, and tones
ECHO at approximately 300 Hz. Press a key to try it.
PAUSE > NUL
4SPACE /D%1 /L5 /V /N300
CLS
ECHO I hope you have enjoyed the demo. Fiddle with the settings yourself and
ECHO you will soon get the hang of them. Hint: it usually looks best if it
ECHO doesn't run too fast, so make sure to adjust your /D setting.
ECHO.
GOTO BatchEnd
:CheckParam
CLS
ECHO
ECHO You have chosen to run 4SPACE with a delay setting of 0. This may cause
ECHO 4SPACE to run too fast on some machines. Are you sure you want to do this?
ECHO If not, press CTRL-BREAK now, or press any other key to continue.
PAUSE > NUL
ECHO.
GOTO ParamOK
:NoParam
ECHO.
ECHO
ECHO This batch file requires a command line parameter for the delay factor,
ECHO even if it is only 0. See the file README.1ST for further instructions.
:BatchEnd